﻿using System;
using System.Text;
using TI_BLE_HCI_ClientLib.BaseEntities;
using TI_BLE_HCI_ClientLib.GenericHCIEntities;
using TI_BLE_HCI_ClientLib.HCIBaseEntities;

namespace TI_BLE_HCI_ClientLib.HCICommands
{
    public class HCICommand_GATT_Write_Characteristic_Value_Response : HCIVendorSpecificCommand
    {
        private const byte CMD = 0x13;

        public HCICommand_GATT_Write_Characteristic_Value_Response(ushort connHandle)
            : base(HCIVendorSpecificCommandCSG.ATT,CMD)
        {
            var pars = new BaseEntityParameter[1];

            pars[0] = new WordParameter(connHandle);
            
            base.addParameters(pars);
        }
    }
}
